/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Objeto_Consultar.java
 *
 * Created on 23/05/2010, 11:24:57 AM
 */

package Interfaces;

/**
 *
 * @author Karla Ruiz
 */
public class Objeto_Consultar extends javax.swing.JFrame {

    /** Creates new form Objeto_Consultar */
    public Objeto_Consultar() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        titulo = new javax.swing.JLabel();
        objetos = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        atras = new javax.swing.JButton();
        eliminar = new javax.swing.JButton();
        modificar = new javax.swing.JButton();
        imagen = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(500, 400));

        titulo.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        titulo.setForeground(new java.awt.Color(255, 255, 255));
        titulo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        titulo.setText("Objetos");
        titulo.setBounds(180, 20, 120, 29);
        jLayeredPane1.add(titulo, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Nº", "Descripcion", "Precio", "Cantidad"
            }
        ));
        objetos.setViewportView(jTable1);

        objetos.setBounds(20, 70, 450, 190);
        jLayeredPane1.add(objetos, javax.swing.JLayeredPane.DEFAULT_LAYER);

        atras.setText("Atrás");
        atras.setBounds(60, 350, 100, 23);
        jLayeredPane1.add(atras, javax.swing.JLayeredPane.DEFAULT_LAYER);

        eliminar.setText("Eliminar");
        eliminar.setBounds(340, 310, 100, 23);
        jLayeredPane1.add(eliminar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        modificar.setText("Modificar");
        modificar.setBounds(340, 350, 100, 23);
        jLayeredPane1.add(modificar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        imagen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/fonfofifa2.png"))); // NOI18N
        imagen.setBounds(0, 0, 500, 400);
        jLayeredPane1.add(imagen, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 500, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Objeto_Consultar().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton atras;
    private javax.swing.JButton eliminar;
    private javax.swing.JLabel imagen;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JTable jTable1;
    private javax.swing.JButton modificar;
    private javax.swing.JScrollPane objetos;
    private javax.swing.JLabel titulo;
    // End of variables declaration//GEN-END:variables

}
